<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>添加管理员</title>

    <style type="text/css">
        body {
            font: 18px "KaiTi";
            overflow-y: hidden;
        }

        div {
            width: 100%;
            height: 45px
        }

        input, select {
            height: 24px;
            font-weight: bold;
        }

        input:focus {
            border-color: #c00;
        }


        *:focus {
            outline: none;
        }

        input {
            border-radius: 5px;
        }

        body {
            text-align: center;
        }
        form{
            text-align: center;
        }
    </style>
</head>
<body>
<h1>添加管理员</h1>
<form action="/adminServlet?type=addAdmin" method="post">
    <fieldset>
        <div>
            <label for="username">* 管理员账号：</label> <input type="text" id="username" name="username"/>
        </div>
        <div>
            <label for="password">* 管理员密码：</label> <input type="password" name="password" id="password"/>
        </div>
        <div>
            <label for="name">* 名字：</label> <input type="name" name="name" id="name"/>
        </div>
        <div>
            <label for="address">* 地址：</label> <input type="address" name="address" id="address"/>
        </div>
        <div>
            <label for="birthday">* 生日：</label> <input type="birthday" name="birthday" id="birthday"/>
        </div>

        <div>
            <input type="submit" value="保存"/>
            &nbsp; <a href="/adminServlet?type=findAll">返回</a>
        </div>
    </fieldset>
</form>
</body>
</html>


